<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="UTF-8"%>
<%@ include file="lib.jsp" %>
<%@ page import= "OSMS.dao.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>更新商品信息</title>
</head>
<body>
	<!-- 对应GoodsUpdateServlet.java实现商品信息的更新 -->
	<form action="update" method="post">	
		<table>


			<tr>
				<td>商品名</td>
				<td><input type="text" name="gname"  value="${good.gname}"></td>
			</tr>
			<tr>
				<td>商品价格</td>
				<td><input type="text" name="gprice" value="${good.gprice}"></td>
			</tr>
			<tr>
				<td>商品类型</td>
				<td><input type="text" name="gtype" value="${good.gtype}"></td>
			</tr>
			
			<tr>
				<td>商品图片</td>
				<td><input type="text" name="picture" value="${good.picture}"></td>
			</tr>
			
			<tr>
				<td>商品描述</td>
				<td><input type="text" name="gdetail" value="${good.gdetail}"></td>
			</tr>
			
			<tr>
				<td>商品库存</td>
				<td><input type="text" name="gstore" value="${good.gstore}"></td>
			</tr>
			
			
			<tr>
				<td><input type="submit" value="更新"></td>
				<td><input type="reset" value="重置"></td>
			</tr>

		</table>
	</form>
</body>
</html>